package com.jdrx.ocp.beans.constans;

/**
 * 事件动作
 */
public enum EventAction {
    CREATE("create","创建"),
    UPDATE("update","更新"),
    DELETE("delete","删除");


    private String action;
    private String name;

    EventAction(String action, String name) {
        this.action = action;
        this.name = name;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
